class CreateChannels < ActiveRecord::Migration[5.0]
  def change
    create_table :channels do |t|
      t.string :name
      t.timestamps
    end


    add_column :brands, :channel_id, :integer
    add_column :carts, :channel_id, :integer
    add_column :orders, :channel_id, :integer
  end
end
